×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Search hotspots

Search hotspots 13 years 2 months ago #11580

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
You'll need some coding knowledge for this.
Perhaps you could add a module position on thevpage and use the standard joomla search module?

Search hotspots 13 years 2 months ago #11582

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0

Daniel Dimitrov wrote: Perhaps you could add a module position on thevpage and use the standard joomla search module?

i want to display the result in the map (same page)

I've already created a map with google map api , but the search function uses an xml file to look for result
i don't know how to adapt it to use hotspots database

Thanks for your reply

Search hotspots 13 years 2 months ago #11583

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Rachid,
So are you a developer or just a user? If you a developer I would give you few hints on what to read and in which files you could add such function, but if you a just an user then I would say - wait till we add this functionality.
Daniel

Search hotspots 13 years 2 months ago #11584

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
I'm bitween developper and user :)
So you can give me your hints, and with your help i'm sure i will figure it out
thanks

Search hotspots 13 years 2 months ago #11587

  • George G
  • George G's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Im also interested on this topic.
It would be great if you could give us some hints.

Search hotspots 13 years 2 months ago #11591

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey guys,
Well I hope that you are prepared to go deep into the rabbit hole :)
I guess that the best place to start would be with this tutorial:
docs.joomla.org/Developing_a_Model-View-...r_Component_-_Part_1

Developing a Model-View-Controller Component - Part 1

Developing a Model-View-Controller Component - Part 2 - Adding a Model

Developing a Model-View-Controller Component - Part 3 - Using the Database

Developing a Model-View-Controller Component - Part 4 - Creating an Administrator Interface

Developing a Model-View-Controller Component - Part 5 - Basic Backend Framework

Developing a Model-View-Controller Component - Part 6 - Adding Backend Actions


I think that you should read everything from part 1 till 3 - and of course do what is explained in the tutorial.

I think that once you read the tutorials you will get an idea where to place the search box and how to make the request to the database so that it returns the hotspots data.

If it is too complicated, then please be patient :)

Search hotspots 13 years 2 months ago #11593

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Hi Daniel,
is this "few hints" :D ?
this is what i want : www.tahagames.com/map/
the search on the left

Thanks

Search hotspots 13 years 2 months ago #11637

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Any news there ?

Search hotspots 13 years 2 months ago #11639

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
@Rachid - did you go over the tutorials?

Search hotspots 13 years 2 months ago #11650

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
I don't have time to read all that, so forget aout it

- now i want to automatically center map on markers when we click in each category
- Display all entries on Newest locations section
- Disable dropdown when click in Newest locations
Thanks in advance

Have a nice day

Search hotspots 13 years 2 months ago #11656

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Help please !

Search hotspots 13 years 2 months ago #11657

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
- go to the menu settings for hotspot (your joomla backend -> menu system -> your menu -> hotspot item)
Map start position -> select by category bounds

- compojoom.com/forum/27-hotspots/52-newbi...657-newest-locations

- what dropdown do you want to disable?

Search hotspots 13 years 2 months ago #11660

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Thanks for reply

Daniel Dimitrov wrote: - what dropdown do you want to disable?

The footer slide menu (where newest location)
i don't want the slide effect just display all entries of categories

Search hotspots 13 years 2 months ago #11662

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
open media/com_hotspots/js/hotspots.js
find this code:
	if(hotspots.showFooterMenu == 1) {
		slide_address = new Fx.Slide('hs_foot_info').hide();
	}
either comment it out or delete it.

After that find the function hsload and at the end of it add this line:
getLatestHotspots();
This should be all. Perhaps it is also a good idea to use template overrides and remove the link for newest locations in...

Daniel

Search hotspots 13 years 2 months ago #11664

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Great, thank you,
Can i highlight marker when i click on newset location ?
Can i display info-window when i click on newset location ?
Have a nice day

Search hotspots 13 years 2 months ago #11665

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
When you click on one of the markers, then an infowindow for this marker opens up. This is the default behavior.
Daniel

Search hotspots 13 years 2 months ago #11666

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0
Sure, but i want the infowindow for this marker to opens up when i click on newest location link

Search hotspots 13 years 2 months ago #11669

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hi,
We either talk about different things or I'm unable to understand you.

When you click a link from the list with the newest locations the infowindow for this marker is opening up on the map. I don't understand your question?

Daniel

Search hotspots 13 years 2 months ago #11671

  • Rachid
  • Rachid's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 18
  • Thank you received: 0

Daniel Dimitrov wrote: Hi,
We either talk about different things or I'm unable to understand you.
Daniel


No, we are speaking about the exactely the same thing

Daniel Dimitrov wrote: Hi,
When you click a link from the list with the newest locations the infowindow for this marker is opening up on the map. I don't understand your question?

Daniel


When i click a link from the list with the newest locations the infowindow for this marker doesn't open (the map is centred on marker) i must click the marker to see the infowindow .
i'm using Div Overlay

Thanks

Search hotspots 13 years 2 months ago #11672

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
When you turn off the map overlay is it working as expected then?
  • Page:
  • 1
  • 2
Time to create page: 0.153 seconds